projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a67069
)
mm-shr: Ignore coding-system `ascii'
author
Katsumi Yamaoka
<yamaoka@jpl.org>
Mon, 20 Feb 2017 06:17:20 +0000
(06:17 +0000)
committer
Katsumi Yamaoka
<yamaoka@jpl.org>
Mon, 20 Feb 2017 06:17:20 +0000
(06:17 +0000)
* lisp/gnus/mm-decode.el (mm-shr): Ignore coding-system `ascii'.
lisp/gnus/mm-decode.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/mm-decode.el
b/lisp/gnus/mm-decode.el
index 6683d68a3188b6316953d63c5b6217c423e1d336..becf6d140b10c58f5808ba3258d711c74dcaedad 100644
(file)
--- a/
lisp/gnus/mm-decode.el
+++ b/
lisp/gnus/mm-decode.el
@@
-1808,8
+1808,9
@@
text/\\(\\sw+\\)\\(?:;\\s-*charset=\\([^\t\n\r \"'>]+\\)\\)?[^>]*>" nil t)
nil t))
(string-match "\\`html\\'" (match-string 1))))
mail-parse-charset))
- (when (or coding
- (setq coding (mm-charset-to-coding-system charset nil t)))
+ (when (and (or coding
+ (setq coding (mm-charset-to-coding-system charset nil t)))
+ (not (eq coding 'ascii)))
(insert (prog1
(decode-coding-string (buffer-string) coding)
(erase-buffer)